package com.meilai.project.entity.workflow;

import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;

/**
 * @author 张驰
 * @date 2022/1/11 15:10
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class WFDataSnapshotSuper implements Serializable {
    private static final long serialVersionUID = 1L;
    @ApiModelProperty(value = "wf_data主表id")
    private Long wf_data_id;
    @ApiModelProperty(value = "标题")
    private String title;
    @ApiModelProperty(value = "预设流程id")
    private Long work_flow_default_id;
    @ApiModelProperty(value = "数据表")
    private String data_table;
    @ApiModelProperty(value = "数据表id")
    private Long data_id;
    @ApiModelProperty(value = "状态（0：未提交；1：流程中；2：已通过；3：已删除；4：被退回）")
    private Integer status;
    @ApiModelProperty(value = "当前节点id")
    private String node_id;
    @ApiModelProperty(value = "当前节点显示名称")
    private String node_name;
    @ApiModelProperty(value = "创建时间")
    private Date create_at;
    @ApiModelProperty(value = "最新审批id")
    private Long check_id;
    @ApiModelProperty(value = "最新流转时间")
    private Date flow_at;
    @ApiModelProperty(value = "前一节点id")
    private String prev_node_id;
    @ApiModelProperty(value = "发起人id")
    private Long applyer_id;
    @ApiModelProperty(value = "发起人姓名")
    private String applyer_name;
    @ApiModelProperty(value = "发起人组织id")
    private Long applyer_department_id;
    @ApiModelProperty(value = "发起人组织名")
    private String applyer_department_name;

    public WFDataSnapshotSuper(Long wf_data_id) {
        this.wf_data_id = wf_data_id;
    }
}
